package com.frejoys.common.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateAddressDto {

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "String", name = "name", description = "收货人姓名", required = true, defaultValue = "小明")
    private String name;

    @Schema(type = "String", name = "phone", description = "联系电话", required = true, defaultValue = "15586868686")
    private String phone;

//    @Schema(type = "String", name = "province", description = "省", required = true, defaultValue = "四川省")
//    private String province;
//
//    @Schema(type = "String", name = "city", description = "市", required = true, defaultValue = "成都市")
//    private String city;

    @Schema(type = "String", name = "district", description = "区县", required = true, defaultValue = "武侯区")
    private String district;

    @Schema(type = "String", name = "street", description = "街道地址", required = true, defaultValue = "xxxx沿街")
    private String street;

    @Schema(type = "String", name = "address", description = "详细地址", required = true, defaultValue = "xxxx小区505")
    private String address;
}
